# configBusiness.py

class AiMake:
    def __init__(self, toKen, timeOut, urlGif, urlPng, urlOpen, fonts, scales_gif, scales_text, scales_video,
                 scales_video_54):
        self.toKen = toKen
        self.timeOut = timeOut
        self.urlGif = urlGif
        self.urlPng = urlPng
        self.urlOpen = urlOpen
        self.fonts = fonts
        self.scales_gif = scales_gif
        self.scales_text = scales_text
        self.scales_video = scales_video
        self.scales_video_54 = scales_video_54


# 创建一个 AiMake 实例，表示配置信息
ai_make_config = AiMake(
    toKen="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",
    timeOut=5000,
    urlGif="https://bqb.kaixinchuichui.cn/api/bqbcreate/getGifList",
    urlPng="https://bqb.kaixinchuichui.cn/api/bqbcreate/getGifBg",
    urlOpen="http://43.153.2.102/chatgpt/chat",
    fonts={
        'MaoKenShiJinHei': 'static/font/MaoKenShiJinHei-2.ttf',
        'JinNianYeYaoJiaYouYa': 'static/font/JinNianYeYaoJiaYouYa-2.ttf',
        # 添加其他颜色
    },
    # 倍率
    scales_gif={
        "x": 3.39,
        "y": 3.33,
        "w": 3.3,
        "h": 3.3,
    },
    scales_text={
        "x": 3.2,
        "y": 3.3,
        "font_size": 3.5
    },
    scales_video={
        "w": 1080,
        "h": 1920,
    },
    scales_video_54={
        "w": 1170,
        "h": 2532,
    }

)
